//
//  BeiDanCiRequest.h
//  Learn
//
//  Created by apple on 2024/4/8.
//  Copyright © 2024 迟建国. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CiHuiModel.h"
#import "ReciteModel.h"
#import "WordModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BeiDanCiRequest : NSObject

/// 背单词首页
/// - Parameter reslutBlock:
+(void)request_getReciteDataResult:(void(^)(ReciteModel *model,BOOL isDone))reslutBlock;

/// 词汇列表
/// - Parameters:
///   - versionName: WY教版
///   - resultBlock: 
+(void)request_getCihuiListWithVersionName:(NSString *)versionName result:(void(^)(NSMutableArray *allList,NSMutableArray *chuList,NSMutableArray *xiaoList))resultBlock;

/// 教程分类
/// - Parameter resultBlock:
+(void)request_getJiaoCaiListResult:(void(^)(NSMutableArray *chuList,NSMutableArray *xiaoList))resultBlock;



///  根据教材获取天数和每天单词量
/// - Parameter resultBlock:
+(void)request_getRecitingWithJiaoCaiid:(NSString*)versionId ListResult:(void(^)(NSMutableArray *dayList,NSMutableArray *numlist))resultBlock;



/// 设置计划，修改计划
/// - Parameters:
///   - versionID: 课程id
///   - days: 天数
///   - count: 每天个数
+(void)request_postSetPlanWithVersion_Id:(NSString *)versionID days:(NSString *)days count:(NSString *)count reslut:(void(^)(BOOL isRequest))resultBlock;



/// 已学未学列表
/// - Parameters:
///   - type: 类型 1已学（默认） 2未学
///   - page: 分页 页码
///   - resultBlock:
+(void)request_getWordListType:(NSInteger )type page:(NSInteger)page  reslut:(void(^)(NSMutableArray *array,BOOL isMore,BOOL isRequest))resultBlock;

/// 答题 背单词列表
/// - Parameters:
///   - versionId: 课程id
///   - resultBlock:
+(void)request_getRecitingWordListWithVersionId:(NSString*)versionId ListResult:(void(^)(NSMutableArray *array))resultBlock;
/// 单词详情
/// - Parameters:
///   - wordId: <#wordId description#>
///   - page: <#page description#>
///   - resultBlock: <#resultBlock description#>
+(void)request_getWordInfoWithId:(NSString*)wordId reslut:(void(^)(WordModel *model,BOOL isRequest))resultBlock;
@end

NS_ASSUME_NONNULL_END
